package com.jxtc.enterprise.hr.vo.req;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Getter
@Setter
@ToString
public class EmployeeBindCompanyReqVo {
    @NotBlank(message = "员工 ID 不能为空")
    private String employeeId;

    @Valid
    @NotEmpty(message = "请选中至少一个公司 ID 和部门 ID")
    private List<CompanyIdAndDepartmentIdReqVo> companyAndDepartmentIdList;
}
